package com.ibm.simpleserver;

public class TPThread extends Thread {
	private Queue que;

	public TPThread(Queue que) {
		this.que = que;
	}

	public void run() {
		while (true) {
			Runnable runner = que.next();
			runner.run();
		}
	}
}
